home *** CD-ROM | disk | FTP | other *** search
Makefile | 1993-10-27 | 2.4 KB | 74 lines | [TEXT/MPS ] |
- #############################
- # Makefile for SoundMonitor #
- #############################
-
- Top = :
- Objects = {Top}
- SMInclude = {Top}
- SMDSPInclude = {SMInclude}
- SMResource = {Top}
- SMRelease = {Top}
- SMReleaseLib = {SMRelease}
- SMReleaseInclude = {SMRelease}
- SMReleaseExample = {SMRelease}
- SMReleaseResource = {SMRelease}SoundMonitor
- SMThinkProject = {Top}VUMeters.π.rsrc
- Copts = -d ccompile -b -r -o {Objects} -i {SMInclude} -i {CIncludes} -i {DSP3210_Includes} -mc68020 -w
-
- ##########################
- # SoundMonitor 3210 code #
- ##########################
-
- DSPSoundMonitorSrcDir = {TOP}
-
- {SMResource}SoundMonitorCode.rsrc ƒƒ {DSPSoundMonitorSrcDir}PowerMonitor.s
- Set OldBOMIICIncludes "{BOMIICIncludes}"
- Set BOMIICIncludes "{BOMIICIncludes},{SMDSPInclude}"
- Export BOMIICIncludes
- d32asm {DSPSoundMonitorSrcDir}PowerMonitor.s {SMResource}SoundMonitorCode.rsrc
- derez {SMResource}SoundMonitorCode.rsrc | rez -a -o {SMThinkProject}
- Set BOMIICIncludes "{OldBOMIICIncludes}"
- Export BOMIICIncludes
- setfile -t rsrc -c RSED {SMResource}SoundMonitorCode.rsrc
-
- {SMResource}SoundMonitorCode.rsrc ƒƒ {DSPSoundMonitorSrcDir}MaxMonitor.s
- Set OldBOMIICIncludes "{BOMIICIncludes}"
- Set BOMIICIncludes "{BOMIICIncludes},{SMDSPInclude}"
- Export BOMIICIncludes
- d32asm {DSPSoundMonitorSrcDir}MaxMonitor.s {SMResource}SoundMonitorCode.rsrc
- derez {SMResource}SoundMonitorCode.rsrc | rez -a -o {SMThinkProject}
- Set BOMIICIncludes "{OldBOMIICIncludes}"
- Export BOMIICIncludes
- setfile -t rsrc -c RSED {SMResource}SoundMonitorCode.rsrc
-
- ###########################
- # SoundMonitor Mac C code #
- ###########################
-
- MacSoundMonitorSrcDir = {TOP}Src.Mac:
-
- {Objects}SoundMonitor.c.o ƒ {MacSoundMonitorSrcDir}SoundMonitor.c
- C {MacSoundMonitorSrcDir}SoundMonitor.c {Copts}
-
- #####################
- # SoundMonitor Tool #
- #####################
-
- SoundMonitor ƒ {Objects}SoundMonitor.c.o {SMResource}SoundMonitorCode.rsrc
- duplicate -y {Objects}SoundMonitor.c.o {SMReleaseLib}
- duplicate -y {SMResource}SoundMonitorCode.rsrc {SMReleaseResource}
- duplicate -y {SMInclude}SoundMonitor: {SMReleaseInclude}
-
- # tester
- TestMonitor ƒ SoundMonitor TestMonitor.c
- C TestMonitor.c {Copts}
- link -d -c 'MPS ' -t MPST -mf ∂
- "{CLibraries}"StdClib.o ∂
- "{CLibraries}"Math.o ∂
- "{Libraries}"Runtime.o ∂
- "{Libraries}"Interface.o ∂
- {Objects}TestMonitor.c.o {Objects}SoundMonitor.c.o ∂
- -o TestMonitor
- Derez {SMResource}SoundMonitorCode.rsrc | ∂
- Rez -a -o TestMonitor
-